import createNextIntlPlugin from 'next-intl/plugin'

const nextConfig = {
  eslint: {
    ignoreDuringBuilds: true,
  },
  images: {
    domains: ['image.vshop88.com'], // ✅ 允許載入這個域名的圖片
    // remotePatterns: [
    //   {
    //     protocol: 'https',
    //     hostname: 'devbucket.goldten.vip',
    //     port: '', // 如果没有特定端口，留空
    //     pathname: '/currency/**', // 允许加载路径
    //   },
    // ],
  },
}

const withNextIntl = createNextIntlPlugin()
export default withNextIntl(nextConfig)
